Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetEnumerator Method
See Also 
Leadtools Namespace > Generic RasterCollection Class : GetEnumerator Method



Returns a generic enumerator that can iterate through the Generic RasterCollection.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetEnumerator() As IEnumerator(Of T)
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim value As IEnumerator(Of T)
 
value = instance.GetEnumerator()
C# 
public virtual IEnumerator<T> GetEnumerator()
C++/CLI 
public:
virtual IEnumerator<T>^ GetEnumerator(); 

Return Value

A generic enumerator that can iterate through the Generic RasterCollection.

Example

For an example, refer to Generic RasterCollection.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also